package de.koller.nature;

import de.koller.nature.render.NRender;
import de.koller.nature.szene.SzeneContainer;
import de.koller.oceanFramework.tree.Child;
import de.koller.oceanFramework.tree.Sea3X;

public class NatureRoot extends Sea3X {
	
	public static final int VIEW_W = 1280, VIEW_H = 720;
	
	@Child public final SzeneContainer szeneContainer = new SzeneContainer();
	@Child public final NRender nRender = new NRender();

	@Override
	protected void init() {
		super.init();
		
		this.setIgnoreChildRender( true );
	}

	@Override
	protected void render( int elapsedTime ) {
		super.render( elapsedTime );
		
		nRender.renderThis();
	}
	
	@Override
	protected void release() {
		super.release();

	}
	
}
